package com.example.a2022application;

import android.app.Application;
import android.content.Context;

import com.example.a2022application.utils.SpUtils2;


public class MyApplication extends Application {
    private static Context appContext;
    @Override
    public void onCreate() {
        super.onCreate();
        appContext = this.getApplicationContext();
        SpUtils2.getInstance().setContext(this);
    }

    public static Context getContext() {
        return appContext;
    }
}
